package com.hb.software.entity.profit;

import com.hb.software.domain.BaseEntity;
import com.hb.software.entity.department.Department;
import com.hb.software.entity.worker.Worker;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain=true)
public class Profit extends BaseEntity<Long> implements Serializable {
    Worker worker;//员工
   List<ProfitMessage> profits;
}